unit Disconnect;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ExtCtrls, StdCtrls, Buttons, FormImage;

type
  TFormDisconnect = class(TForm)
    fcImageForm1: TFormImage;
    BtnOffline: TBitBtn;
    BtnExit: TBitBtn;
    fcLabel1: TStaticText;
    BtnReconnect: TBitBtn;
    procedure FormCreate(Sender: TObject);
    procedure BtnReconnectClick(Sender: TObject);
  private
    { Private declarations }
  public
    closing: integer;
    { Public declarations }
  end;

var
  FormDisconnect: TFormDisconnect;

implementation

{$R *.DFM}

procedure TFormDisconnect.FormCreate(Sender: TObject);
begin
  closing:=3;
  height:=114;
  width:=368;
end;

procedure TFormDisconnect.BtnReconnectClick(Sender: TObject);
begin
  closing:=TBitBtn(sender).tag;
  close;
end;

end.
